// SFileServeryDlg.h : header file
//

#if !defined(AFX_SFILESERVERYDLG_H__FEF4EB22_C4E4_4F15_A110_FED26EA0FF79__INCLUDED_)
#define AFX_SFILESERVERYDLG_H__FEF4EB22_C4E4_4F15_A110_FED26EA0FF79__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CSFileServeryDlg dialog
#include <afxtempl.h>
#include "DlgTCP.h"
#include "DlgUDP.h"
class CSFileServeryDlg : public CDialog
{
// Construction
public:
	CSFileServeryDlg(CWnd* pParent = NULL);	// standard constructor
	~CSFileServeryDlg();
	CString GetMyPath();
	BOOL SetAutoRun(CString strPath);
	enum { IDD = IDD_SFILESERVERY_DIALOG };
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
public:
	CDlgTCP *m_TcpDlg;
	CDlgUDP *m_UdpDlg;
	CArray<CDialog*,CDialog*>m_ArrayDlg;
	void ShowWindows(CDialog *pThis);
	void MoveWindows();
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSFileServeryDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonTcp();
	afx_msg void OnButtonUdp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	
public:

private:

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SFILESERVERYDLG_H__FEF4EB22_C4E4_4F15_A110_FED26EA0FF79__INCLUDED_)
